import Vue from 'vue'
import Vuex from 'vuex'
import city from './modules/city'
import vuexPersist from 'vuex-persist'
const vuexLocal =new vuexPersist({
  storage:window.localStorage
})

Vue.use(Vuex)

export default new Vuex.Store({
  state: {},
  mutations: {

  },
  actions: {},
  modules: {
    city
  },
  plugins:[vuexLocal.plugin]
})